package com.rla.mapper;

import com.rla.domain.EhsEverydayUricAcid;
import com.rla.domain.vo.EhsEverydayUricAcidVo;
import com.rla.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 日常记录-尿酸记录Mapper接口
 *
 * @author rla
 * @date 2025-09-11
 */
public interface EhsEverydayUricAcidMapper extends BaseMapperPlus<EhsEverydayUricAcidMapper, EhsEverydayUricAcid, EhsEverydayUricAcidVo> {

    public List<Map<String, Object>> getTrendList(@Param("userId") String userId, @Param("startDate") String startDate, @Param("endDate") String endDate);
    public List<Map<String, Object>> statisticsExce(@Param("userId") String userId,@Param("startDate") String startDate,@Param("endDate") String endDate);
    public Map<String, Object> queryDateCompare(@Param("measuredTime") String measuredTime);

    public Map<String, Float> average(@Param("userId") String userId,@Param("startDate") String startDate,@Param("endDate") String endDate);

    public Map<String, Float> average1(@Param("userId") String userId,@Param("startDate1") String startDate,@Param("endDate1") String endDate);

    List<Map<String, Object>>  averageWeekList(@Param("userId") String userId,@Param("startDate") String startDate,@Param("endDate") String endDate);

    public List<String> averageList1(@Param("userId") String userId,@Param("startDate1") String startDate,@Param("endDate1")String endDate);

    Map<String,Object> healthReport(@Param("userId")String userId,@Param("startDate") String startDate,@Param("endDate") String endDate);

    List<Map<String, Object>> getTagCountStatistics(@Param("userId")String userId,@Param("startDate") String startDate,@Param("endDate") String endDate);
}
